<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ include file="/page/core/common/commonvariable.jsp"%>
<div id="edit-data-warp">
<form class="form-horizontal" role="form" method="post">
	<div class="col-sm-12">
		<div class="form-group  col-sm-6 ">
			<div class="col-xs-26">
		   		<label class="control-label"><spring:message code="clientId"></spring:message> <span style="color: red;">*</span></label>
	   		</div>
	   		<div class="col-xs-74" >
				<input type="text" id="clientId" onblur="commonutil.trim(this);" class="form-control b-validate" ng-model="oauthClientDetailForm.clientId" validate-feature="require" validate-maxCharLength="255"/>
			</div>
		</div>
		<div class="form-group  col-sm-6 ">
			<div class="col-xs-26">
	   			<label class="control-label"><spring:message code="clientSecret"></spring:message> <span style="color: red;">*</span></label>
	   		</div>
	   		<div class="col-xs-74" >
				<input type="text" onblur="commonutil.trim(this);"  class="form-control b-validate" ng-model="oauthClientDetailForm.clientSecret" validate-feature="require" validate-maxCharLength="256"/>
			</div>
		</div>
		
	</div>
	
	
	<div class="col-sm-12" ><!-- ng-if="rightPart=='add'" -->
		
		<div class="form-group  col-sm-6 ">
			<div class="col-xs-26">
		   		<label class="control-label"><spring:message code="resourceIds"></spring:message> <span style="color: red;">*</span></label>
	   		</div>
	   		<div class="col-xs-74" >
				<input type="text"  id=""  onblur="commonutil.trim(this);"  class="form-control b-validate" ng-model="oauthClientDetailForm.resourceIds" validate-feature="require" validate-maxCharLength="256"/>
			</div>
		</div>
		<div class="form-group  col-sm-6 ">
			<div class="col-xs-26">
	   			<label class="control-label"><spring:message code="scope"></spring:message> <span style="color: red;">*</span></label>
	   		</div>
	   		<div class="col-xs-74" >
				<input type="text"  onblur="commonutil.trim(this);" class="form-control b-validate" ng-model="oauthClientDetailForm.scope"  validate-maxCharLength="256"/>
			</div>
		</div>
	</div>
	
	<div class="col-sm-12">
	<div class="form-group  col-sm-6 ">
			<div class="col-xs-26">
	   			<label class="control-label"><spring:message code="webServerRedirectUri"></spring:message> <span style="color: red;">*</span></label>
	   		</div>
	   		<div class="col-xs-74" >
				<input type="text" onblur="commonutil.trim(this);" class="form-control b-validate" ng-model="oauthClientDetailForm.webServerRedirectUri" validate-feature="require" validate-maxCharLength="256"/>
			</div>
		</div>
		
	</div>
		

	
	
	<div class="col-sm-12" style="margin-top: 20px" >
		<div class="col-sm-6">
			<input  type="button"  ng-click="doCancel();"  class="btn btn-primary btn-block" value="取&nbsp;&nbsp;消"/>
		</div>
		<div class="col-sm-6">
			<input  type="button"  ng-click="doAdd();"  class="btn btn-primary btn-block" value="保&nbsp;&nbsp;存"/>
		</div>
	</div>
</form>
</div>
